/**
* Checkbox Tools 3D mode selection.
*/
void radioToolsButton(int r) {
  mode = r;
}

/**
* Zoom slider function.
*/
public void zoom(int value) {
  experience.scenemanager().sceneguidemanager().offscreenguidemanager().updateZoomCameraGuide(value);
}

/**
* Checkbox goal type selection.
*/
void radioModeFunction(int r) {
  if (r == 0) {
    goal = false;
  }
  else {
    goal = true;
    experience.scenemanager().goalmanager().mode(r);
  }
}

/**
 * Checkbox light
 */
void radioLightButton(int r) {
  if (r == 1) {
    experience.scenemanager().sceneusermanager().offscreenusermanager().light(true);
  }
  else {
    experience.scenemanager().sceneusermanager().offscreenusermanager().light(false);
  }
}

void radioHeadTrackingButton(int r){
  if (r == 1){
    experience.scenemanager().updateHeadTracking(true);
  }
  else{
    experience.scenemanager().updateHeadTracking(false);
  }
}

/**
* Instructions functions.
 */
public void arrowLeft() {
  experience.scenemanager().instructionArrowDirection(0);
}  

public void arrowRight() {
  experience.scenemanager().instructionArrowDirection(1);
}

public void arrowUp() {
  experience.scenemanager().instructionArrowDirection(2);
}  

public void arrowDown() {
  experience.scenemanager().instructionArrowDirection(3);
}  
